package cc.magicjson.mall.order.infrastructure.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "mall-cloud-member")
public interface MemberServiceClient {
    @GetMapping("/members/{memberId}")
    boolean isMemberActive(@PathVariable("memberId") String memberId);
}